/**
 * @description 来源分析 mock
 */
import { useMockOnAny } from '@/mock/mock'
import {
  BrowserInterfaceRes,
  genderAgeEducationInterfaceRes,
  HotFeaturesRes,
  interestIndexInterfaceRes,
  MainFeaturesRes,
  PageAnalysisRes,
  regionalDistributionRes,
} from '@/mock/api/userAnalysis/resInfo'

const mockOnAny = useMockOnAny()
/**
 * @description 用户分析-性别年龄学历分布数据
 */
mockOnAny(
  '/admin/userAnalysis/genderAgeEducationInterfaceRes/info',
  genderAgeEducationInterfaceRes,
)
/**
 * @description 用户分析-兴趣直属数据
 */
mockOnAny('/admin/userAnalysis/InterestIndex/info', interestIndexInterfaceRes)
/**
 * @description 用户分析-地域分布数据
 */
mockOnAny(
  '/admin/userAnalysis/regionalDistribution/info',
  regionalDistributionRes,
)
/**
 * @description 用户分析-浏览器数据
 */
mockOnAny('/admin/userAnalysis/browser/info', BrowserInterfaceRes)
/**
 * @description 用户分析-主要功能数据
 */
mockOnAny('/admin/userAnalysis/mainFeatures/info', MainFeaturesRes)
/**
 * @description 用户分析-热门功能数据
 */
mockOnAny('/admin/userAnalysis/hotFeatures/info', HotFeaturesRes)
/**
 * @description 用户分析-页面分析数据
 */
mockOnAny('/admin/userAnalysis/pageAnalysis/info', PageAnalysisRes)
